#include <stdio.h>

int main() {
    int a = 0;
    int s = 0;
    long long int m = 0;
    scanf_s("%d", &s);
    for (a = 1; a <= s; a++)
    {
        m += a;
    }
    printf("%lld", m);
    return 0;
}